Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element Tracking Plugin Schemas #1421

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jethron
Copy link

@jethron jethron commented Dec 11, 2024

This PR adds schemas for a new proposed Element Tracking plugin for the JavaScript Tracker.

It contains 4 Self Describing Events:

  • create_element
  • destroy_element
  • expose_element
  • obscure_element

And 4 entities:

  • element
  • element_content
  • element_statistics
  • component_parents

This is a draft PR to allow review of the actual plugin.

"minimum": 0.0,
"maximum": 1.0
},
"max_y_depth_percentage": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the _percentage suffix is a bit confusing given that the range is from 0 to 1 (would expect 0 to 100). Maybe call it ratio or change the scale?

},
"total_time_visible_ms": {
"description": "The cumulative amount of time (in milliseconds) this element has been in view so far.",
"type": "number",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we can go for integer given this is in ms already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants